from django.shortcuts import render

# Create your views here.

def index(request):
    data = {
        'name':'zhang',
        'age': 18,
        'hobbies': ['reading', 'coding', 'gaming'],
        'is_student': True,
        'address': {
            'city': 'Beijing',
            'country': 'China'
        },
        'stars':[
            ['马化腾','马云','马斯克'],
            ['雷军','李彦宏','张一鸣']
        ]
        
    }
    return render(request, 'index.html',data)